package com.cuit.qx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Author:wjd
 * @Description:
 * @date:Created in 14:57 2020/9/21
 * @Modified By:
 */
@TableName("warning")
public class Warning {

    @TableId(value = "station_id",type = IdType.UUID)//指定为不自增
    private String stationId; //ID
    @Excel(name = "站名", width = 32)
    private String stationName;//站点名称
    @Excel(name = "站号", width = 32)
    private String stationNumber;//站点编号
    @Excel(name = "站点地址", width = 32)
    private String stationSite;//位置
    @Excel(name = "站点区县", width = 35)
    private String stationCounty;    //站点区县
    @Excel(name = "经度", width = 35)
    private String lon;
    @Excel(name = "纬度", width = 35)
    private String lat;
    @Excel(name = "报警内容", width = 32)
    private String warningContent;//报警内容
    private Integer warningState;//报警状态  1:未确认  0:确认
    @Excel(name = "时间", width = 32)
    private String createTime;
    private String elementValue;       //预警数值
    private String color;            // 颜色
    @TableField(exist = false)
    private Integer windStatus;      //强风报警
    private String elementType;   //预警类型

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getStationNumber() {
        return stationNumber;
    }

    public void setStationNumber(String stationNumber) {
        this.stationNumber = stationNumber;
    }

    public String getStationSite() {
        return stationSite;
    }

    public void setStationSite(String stationSite) {
        this.stationSite = stationSite;
    }

    public String getWarningContent() {
        return warningContent;
    }

    public void setWarningContent(String warningContent) {
        this.warningContent = warningContent;
    }

    public Integer getWarningState() {
        return warningState;
    }

    public void setWarningState(Integer warningState) {
        this.warningState = warningState;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getElementValue() {
        return elementValue;
    }

    public void setElementValue(String elementValue) {
        this.elementValue = elementValue;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getWindStatus() {
        return windStatus;
    }

    public void setWindStatus(Integer windStatus) {
        this.windStatus = windStatus;
    }

    public String getStationCounty() {
        return stationCounty;
    }

    public void setStationCounty(String stationCounty) {
        this.stationCounty = stationCounty;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getElementType() {
        return elementType;
    }

    public void setElementType(String elementType) {
        this.elementType = elementType;
    }

    @Override
    public String toString() {
        return "Warning{" +
                "stationId='" + stationId + '\'' +
                ", stationName='" + stationName + '\'' +
                ", stationNumber='" + stationNumber + '\'' +
                ", stationSite='" + stationSite + '\'' +
                ", warningContent='" + warningContent + '\'' +
                ", warningState=" + warningState +
                ", createTime='" + createTime + '\'' +
                ", elementValue='" + elementValue + '\'' +
                ", color='" + color + '\'' +
                ", windStatus=" + windStatus +
                ", stationCounty='" + stationCounty + '\'' +
                ", lon='" + lon + '\'' +
                ", lat='" + lat + '\'' +
                ", elementType='" + elementType + '\'' +
                '}';
    }
}
